<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Dashboard extends SIDE_Admin 
{
	public function index()
	{
		$data = array('title' => $this->_config['site_title_admin'],
								'site' => $this->_config['site_title']
								);
		$data['user'] = $this->ion_auth->user()->row();
		//print_r($data['user']);exit;
		$data['user']->last_login = date('Y-m-d H:i:s', $data['user']->last_login);
		$this->template->render_single('index',$data);
	}
}

/* End of file */